Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

airbnb-js-shims

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airbnb-js-shims

JS language shims used by Airbnb.

  • 1.7.1
  • backport
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3M
increased by1.23%
Maintainers
3
Weekly downloads
 
Created

What is airbnb-js-shims?

The airbnb-js-shims package is a collection of JavaScript shims and polyfills used by Airbnb. It helps in ensuring that JavaScript code runs smoothly across different environments by providing compatibility for features that may not be available in older browsers or certain environments. This package is particularly useful for developers looking to support a wide range of browsers without having to worry about the availability of modern JavaScript features.

What are airbnb-js-shims's main functionalities?

Array and Object methods

Provides polyfills for modern Array and Object methods like Array.prototype.find and Object.assign, allowing developers to use these methods even in environments that do not natively support them.

[].find(item => item === 2); Object.assign({}, { a: 1 });

Promise support

Includes a polyfill for Promises, enabling asynchronous operations support in environments where Promises are not natively available.

new Promise((resolve, reject) => { resolve('Success'); });

String methods

Adds support for newer String methods such as startsWith and includes, making string manipulation tasks easier and more intuitive.

'hello'.startsWith('he'); 'food'.includes('oo');

Other packages similar to airbnb-js-shims

Keywords

FAQs

Package last updated on 31 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc